﻿<%@ Page Language="C#" MasterPageFile="~/MasterPages/C5.Master" AutoEventWireup="true"
    CodeBehind="ResetLoginPassword.aspx.cs" Inherits="EasyCheque.Welcome.ResetLoginPassword" %>

<asp:Content ID="Content" ContentPlaceHolderID="ContentPlaceHolder_Content" runat="server">
    <div class="title_inner">
        重置密码
    </div>
    <asp:Table ID="Table_RegisterForm" runat="server" CssClass="formtable">
        <asp:TableRow>
            <asp:TableCell CssClass="infoCellLabel">
                <asp:Label ID="Label_IDCARD" runat="server" Text="身份证号码"></asp:Label>
            </asp:TableCell>
            <asp:TableCell CssClass="infoCellValue">
                <asp:TextBox ID="TextBox_IDCARD" runat="server" AutoPostBack="false">
                </asp:TextBox>
                <asp:Label ID="Label10" runat="server" Text=" *" ForeColor="Red"></asp:Label>
            </asp:TableCell>
            <asp:TableCell CssClass="infoUltraWidth">
                <asp:RequiredFieldValidator Display="Dynamic" ID="RequiredFieldValidator_IDCARD" runat="server" ErrorMessage="身份证号码不能为空。"
                    CssClass="tipwrong" ControlToValidate="TextBox_IDCARD" ForeColor="#888888"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator Display="Dynamic" ID="RegularExpressionValidator7" runat="server" ErrorMessage="请输入正确的身份证号码。"
                    CssClass="tipwrong" ControlToValidate="TextBox_IDCARD" ForeColor="#888888" ValidationExpression="^(\d{15}$|^\d{18}$|^\d{17}(\d|X|x))$">
                </asp:RegularExpressionValidator>
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
            <asp:TableCell CssClass="infoCellLabel">
                <asp:Label ID="Label_LoginPW" runat="server" Text="安全码"></asp:Label>
            </asp:TableCell>
            <asp:TableCell CssClass="infoCellValue">
                <asp:TextBox ID="TextBox_SecCode" runat="server" AutoPostBack="false" TextMode="MultiLine">
                </asp:TextBox>
                <asp:Label ID="Label2" runat="server" Text=" *" ForeColor="Red"></asp:Label>
            </asp:TableCell>
            <asp:TableCell>
                <asp:RequiredFieldValidator Display="Dynamic" ID="RequiredFieldValidator1" runat="server" ErrorMessage="安全码不能为空。"
                    CssClass="tipwrong" ControlToValidate="TextBox_SecCode" ForeColor="#888888"></asp:RequiredFieldValidator>
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
            <asp:TableCell>
                <asp:Label ID="Label_NewPassword" runat="server" Text="新密码"></asp:Label>
            </asp:TableCell>
            <asp:TableCell>
                <asp:TextBox ID="TextBox_NewPassword" runat="server" AutoPostBack="false" TextMode="Password">
                </asp:TextBox>
                <asp:Label ID="Label12" runat="server" Text=" *" ForeColor="Red"></asp:Label>
            </asp:TableCell>
            <asp:TableCell>
                <asp:RequiredFieldValidator Display="Dynamic" ID="RequiredFieldValidator_NewPassword" runat="server"
                    ErrorMessage="新密码不能为空。" CssClass="tipwrong" ControlToValidate="TextBox_NewPassword"
                    ForeColor="#888888"></asp:RequiredFieldValidator>
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
            <asp:TableCell>
                <asp:Label ID="Label_ReinputPassword" runat="server" Text="确认新密码"></asp:Label>
            </asp:TableCell>
            <asp:TableCell>
                <asp:TextBox ID="TextBox_ReinputPassword" runat="server" AutoPostBack="false" TextMode="Password">
                </asp:TextBox>
                <asp:Label ID="Label1" runat="server" Text=" *" ForeColor="Red"></asp:Label>
            </asp:TableCell>
            <asp:TableCell>
                <asp:RequiredFieldValidator Display="Dynamic" ID="RequiredFieldValidator_ReinputPassword" runat="server"
                    ErrorMessage="确认密码不能为空。" CssClass="tipwrong" ControlToValidate="TextBox_ReinputPassword"
                    ForeColor="#888888"></asp:RequiredFieldValidator>
                <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="密码不符。"
                    ControlToCompare="TextBox_NewPassword" ControlToValidate="TextBox_ReinputPassword"
                    CssClass="tipwrong" ForeColor="#888888"></asp:CompareValidator>
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
            <asp:TableCell></asp:TableCell>
            <asp:TableCell>
                <asp:Button ID="Button_ResetPassword" runat="server" OnClick="Button_ResetPassword_Click"
                    CssClass="pt_button" Text="重置密码" />
            </asp:TableCell>
            <asp:TableCell>
                <asp:Label ID="Label_CommitMessage" runat="server" Text="" ForeColor="Red" CssClass="tipwrong"
                    Visible="False"></asp:Label>
            </asp:TableCell>
        </asp:TableRow>
    </asp:Table>
</asp:Content>
